/*
 * @Author: chenxuan
 * @Date: 2021-05-04 20:51:41
 * @LastEditTime: 2021-10-15 23:47:51
 * @LastEditors: chenxuan
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    redirect: '/BaseAll'
  },
  {
    path: '',
    name: 'home',
    component: () => import('@/views/base.vue'),
    children: [
      {
        path: '/BaseAll',
        name: 'BaseAll',
        component: () => import('@/views/chartModel/aiGisBase'),
        meta: {
          title: '地理洞察智能系统'
        }
      },
    ]
  }
]

const router = new VueRouter({
  // mode: 'hash',
  // base: process.env.BASE_URL,
  routes
})

export default router
